package com.syq.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class VipCoursePlanRecord implements Serializable {
    private String ucRno;

    private String cno;

    private String uno;

    private String ushOrno;

    private String ucRname;

    private Date ucRstarttime;

    private Date ucRendtime;

    private String ucRstate;

    private String ucRndesc;

    private String ucRnamount;

    private static final long serialVersionUID = 1L;

    public String getUcRno() {
        return ucRno;
    }

    public void setUcRno(String ucRno) {
        this.ucRno = ucRno;
    }

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    public String getUshOrno() {
        return ushOrno;
    }

    public void setUshOrno(String ushOrno) {
        this.ushOrno = ushOrno;
    }

    public String getUcRname() {
        return ucRname;
    }

    public void setUcRname(String ucRname) {
        this.ucRname = ucRname;
    }

    public Date getUcRstarttime() {
        return ucRstarttime;
    }

    public void setUcRstarttime(Date ucRstarttime) {
        this.ucRstarttime = ucRstarttime;
    }

    public Date getUcRendtime() {
        return ucRendtime;
    }

    public void setUcRendtime(Date ucRendtime) {
        this.ucRendtime = ucRendtime;
    }

    public String getUcRstate() {
        return ucRstate;
    }

    public void setUcRstate(String ucRstate) {
        this.ucRstate = ucRstate;
    }

    public String getUcRndesc() {
        return ucRndesc;
    }

    public void setUcRndesc(String ucRndesc) {
        this.ucRndesc = ucRndesc;
    }

    public String getUcRnamount() {
        return ucRnamount;
    }

    public void setUcRnamount(String ucRnamount) {
        this.ucRnamount = ucRnamount;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        VipCoursePlanRecord other = (VipCoursePlanRecord) that;
        return (this.getUcRno() == null ? other.getUcRno() == null : this.getUcRno().equals(other.getUcRno()))
            && (this.getCno() == null ? other.getCno() == null : this.getCno().equals(other.getCno()))
            && (this.getUno() == null ? other.getUno() == null : this.getUno().equals(other.getUno()))
            && (this.getUshOrno() == null ? other.getUshOrno() == null : this.getUshOrno().equals(other.getUshOrno()))
            && (this.getUcRname() == null ? other.getUcRname() == null : this.getUcRname().equals(other.getUcRname()))
            && (this.getUcRstarttime() == null ? other.getUcRstarttime() == null : this.getUcRstarttime().equals(other.getUcRstarttime()))
            && (this.getUcRendtime() == null ? other.getUcRendtime() == null : this.getUcRendtime().equals(other.getUcRendtime()))
            && (this.getUcRstate() == null ? other.getUcRstate() == null : this.getUcRstate().equals(other.getUcRstate()))
            && (this.getUcRndesc() == null ? other.getUcRndesc() == null : this.getUcRndesc().equals(other.getUcRndesc()))
            && (this.getUcRnamount() == null ? other.getUcRnamount() == null : this.getUcRnamount().equals(other.getUcRnamount()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUcRno() == null) ? 0 : getUcRno().hashCode());
        result = prime * result + ((getCno() == null) ? 0 : getCno().hashCode());
        result = prime * result + ((getUno() == null) ? 0 : getUno().hashCode());
        result = prime * result + ((getUshOrno() == null) ? 0 : getUshOrno().hashCode());
        result = prime * result + ((getUcRname() == null) ? 0 : getUcRname().hashCode());
        result = prime * result + ((getUcRstarttime() == null) ? 0 : getUcRstarttime().hashCode());
        result = prime * result + ((getUcRendtime() == null) ? 0 : getUcRendtime().hashCode());
        result = prime * result + ((getUcRstate() == null) ? 0 : getUcRstate().hashCode());
        result = prime * result + ((getUcRndesc() == null) ? 0 : getUcRndesc().hashCode());
        result = prime * result + ((getUcRnamount() == null) ? 0 : getUcRnamount().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", ucRno=").append(ucRno);
        sb.append(", cno=").append(cno);
        sb.append(", uno=").append(uno);
        sb.append(", ushOrno=").append(ushOrno);
        sb.append(", ucRname=").append(ucRname);
        sb.append(", ucRstarttime=").append(ucRstarttime);
        sb.append(", ucRendtime=").append(ucRendtime);
        sb.append(", ucRstate=").append(ucRstate);
        sb.append(", ucRndesc=").append(ucRndesc);
        sb.append(", ucRnamount=").append(ucRnamount);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}